package com.ky.my.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hmt
 * @since 2024-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Courseprogress implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 课程ID
     */
    @TableId(value = "course_id", type = IdType.AUTO)
    private Integer courseId;

    /**
     * 课程标题
     */
    private String title;

    /**
     * 今日学习时间
     */
    @TableField("todayLearning")
    private Integer todayLearning;

    /**
     * 本周学习时间
     */
    @TableField("thisWeekLearning")
    private Integer thisWeekLearning;

    /**
     * 累计学习时间
     */
    @TableField("totalLearning")
    private Integer totalLearning;

    /**
     * 进度
     */
    private Integer progress;

    /**
     * 总共多少节课
     */
    @TableField("totalLessons")
    private Integer totalLessons;

    /**
     * 课程状态
     */
    private String status;


}
